package com.joysuch.wwyt.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.joysuch.wwyt.core.bean.BaseUserFaceLogBean;
import com.joysuch.wwyt.core.entity.BaseUser;
import com.joysuch.wwyt.core.entity.BaseUserFaceLog;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author xsx
 * @version 1.0
 * @date 2023/3/14 17:07
 */
public interface BaseUserFaceLogMapper extends BaseMapper<BaseUserFaceLog> {

    Page<BaseUserFaceLogBean>  selectBeans(Page<BaseUserFaceLogBean> page, @Param("userName") String userName
            , @Param("syncStartTime") Date syncStartTime, @Param("syncEndTime") Date syncEndTime);

    List<BaseUser> selectUsers();

}
